dotConnect for Salesforce Marketing Cloud Documentation
Devart.Data Namespace / SqlShimParameterCollection<T> Class / Add Method / Add(String,DbType,Int32) Method
The name of the parameter.
One of the System.Data.DbType values.
The maximum size, in bytes, of the data the parameter can contain.

In This Topic
    Add(String,DbType,Int32) Method
    In This Topic
    Adds a SqlShimParameter to the SqlShimParameterCollection<T> given the the parameter name, data type, and data size.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal parameterName As String, _
       ByVal dbType As DbType, _
       ByVal size As Integer _
    ) As T
    public T Add( 
       string parameterName,
       DbType dbType,
       int size
    )

    Parameters

    parameterName
    The name of the parameter.
    dbType
    One of the System.Data.DbType values.
    size
    The maximum size, in bytes, of the data the parameter can contain.

    Return Value

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also